﻿using System;
using System.Collections.Generic;
namespace Yom.WebService.Setup
{
    using System.Web;
    using Yom.Common;

    public class SetupLicense
    {
        public void OutWrite()
        {
            HttpResponse Response = HttpContext.Current.Response;
            JsonModel Js = new JsonModel();
            Js.Add("Title", "<p>Yom网络漫画管理系统 V1.0 Beta 授权说明</p>");
            Js.Add("Desc", "<img src=\"images/printerIcon.gif\" alt=\"打印版本\" /><a href=\"License.txt\" target=\"_blank\">打印版本</a>");
            Js.Add("Info", "<iframe frameborder=\"1\" scrolling=\"yes\" src=\"License.htm\" height=\"164\" width=\"560\"></iframe><div style=\"text-align: right;padding-right: 20px;\">我同意&nbsp;<input type=\"checkbox\" id=\"chkAgree\" />");
            Js.Add("Height", "30px");
            Js.Add("Button", "<input type=\"button\" id=\"Previous\" value=\"&lt; 上一步\" />&nbsp;<input type=\"button\" id=\"Next\" value=\"下一步 &gt;\" disabled=\"disabled\" />");
            Response.Write(new Json(Js));
        }
    }
}